.class public final Llt/farmis/libraries/shape_import_android/kml/Placemark;
.super Ljava/lang/Object;
.source "Placemark.kt"


# annotations
.annotation system Ldalvik/annotation/SourceDebugExtension;
    value = "SMAP\nPlacemark.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Placemark.kt\nlt/farmis/libraries/shape_import_android/kml/Placemark\n+ 2 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,44:1\n1479#2,2:45\n*E\n*S KotlinDebug\n*F\n+ 1 Placemark.kt\nlt/farmis/libraries/shape_import_android/kml/Placemark\n*L\n25#1,2:45\n*E\n"
.end annotation


# instance fields
.field private description:Ljava/lang/String;

.field private final shapeList:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Ljava/util/List<",
            "Llt/farmis/libraries/shape_import_android/intefaces/LatLngInterface;",
            ">;>;"
        }
    .end annotation
.end field

.field private title:Ljava/lang/String;

.field private type:Llt/farmis/libraries/shape_import_android/ShapeImport$Shape;

.field private uniqueId:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 8
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const-string v0, "Imported measure"

    .line 10
    iput-object v0, p0, Llt/farmis/libraries/shape_import_android/kml/Placemark;->title:Ljava/lang/String;

    const-string v0, ""

    .line 11
    iput-object v0, p0, Llt/farmis/libraries/shape_import_android/kml/Placemark;->description:Ljava/lang/String;

    .line 12
    iput-object v0, p0, Llt/farmis/libraries/shape_import_android/kml/Placemark;->uniqueId:Ljava/lang/String;

    .line 14
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Llt/farmis/libraries/shape_import_android/kml/Placemark;->shapeList:Ljava/util/List;

    .line 15
    sget-object v0, Llt/farmis/libraries/shape_import_android/ShapeImport$Shape;->NONE:Llt/farmis/libraries/shape_import_android/ShapeImport$Shape;

    iput-object v0, p0, Llt/farmis/libraries/shape_import_android/kml/Placemark;->type:Llt/farmis/libraries/shape_import_android/ShapeImport$Shape;

    return-void
.end method


# virtual methods
.method public final addCoordinates(Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "+",
            "Llt/farmis/libraries/shape_import_android/intefaces/LatLngInterface;",
            ">;)V"
        }
    .end annotation

    const-string v0, "coordinates"

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    .line 19
    iget-object v0, p0, Llt/farmis/libraries/shape_import_android/kml/Placemark;->shapeList:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-void
.end method

.method public final getShapeList()Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Ljava/util/List<",
            "Llt/farmis/libraries/shape_import_android/intefaces/LatLngInterface;",
            ">;>;"
        }
    .end annotation

    .line 14
    iget-object v0, p0, Llt/farmis/libraries/shape_import_android/kml/Placemark;->shapeList:Ljava/util/List;

    return-object v0
.end method

.method public final getShapeModelList()Ljava/util/List;
    .locals 11
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Llt/farmis/libraries/shape_import_android/models/ShapeModel;",
            ">;"
        }
    .end annotation

    .line 23
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 25
    iget-object v1, p0, Llt/farmis/libraries/shape_import_android/kml/Placemark;->shapeList:Ljava/util/List;

    .line 45
    invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    move-object v7, v2

    check-cast v7, Ljava/util/List;

    .line 26
    new-instance v2, Llt/farmis/libraries/shape_import_android/models/ShapeModel;

    .line 27
    iget-object v4, p0, Llt/farmis/libraries/shape_import_android/kml/Placemark;->type:Llt/farmis/libraries/shape_import_android/ShapeImport$Shape;

    .line 28
    iget-object v5, p0, Llt/farmis/libraries/shape_import_android/kml/Placemark;->title:Ljava/lang/String;

    .line 29
    iget-object v6, p0, Llt/farmis/libraries/shape_import_android/kml/Placemark;->description:Ljava/lang/String;

    .line 31
    iget-object v8, p0, Llt/farmis/libraries/shape_import_android/kml/Placemark;->uniqueId:Ljava/lang/String;

    const/4 v9, 0x0

    const/4 v10, 0x0

    move-object v3, v2

    .line 26
    invoke-direct/range {v3 .. v10}, Llt/farmis/libraries/shape_import_android/models/ShapeModel;-><init>(Llt/farmis/libraries/shape_import_android/ShapeImport$Shape;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;)V

    .line 34
    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_0
    return-object v0
.end method

.method public final getTitle()Ljava/lang/String;
    .locals 1

    .line 10
    iget-object v0, p0, Llt/farmis/libraries/shape_import_android/kml/Placemark;->title:Ljava/lang/String;

    return-object v0
.end method

.method public final getType()Llt/farmis/libraries/shape_import_android/ShapeImport$Shape;
    .locals 1

    .line 15
    iget-object v0, p0, Llt/farmis/libraries/shape_import_android/kml/Placemark;->type:Llt/farmis/libraries/shape_import_android/ShapeImport$Shape;

    return-object v0
.end method

.method public final setDescription(Ljava/lang/String;)V
    .locals 1

    const-string v0, "<set-?>"

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    .line 11
    iput-object p1, p0, Llt/farmis/libraries/shape_import_android/kml/Placemark;->description:Ljava/lang/String;

    return-void
.end method

.method public final setTitle(Ljava/lang/String;)V
    .locals 1

    const-string v0, "<set-?>"

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    .line 10
    iput-object p1, p0, Llt/farmis/libraries/shape_import_android/kml/Placemark;->title:Ljava/lang/String;

    return-void
.end method

.method public final setType(Llt/farmis/libraries/shape_import_android/ShapeImport$Shape;)V
    .locals 1

    const-string v0, "<set-?>"

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    .line 15
    iput-object p1, p0, Llt/farmis/libraries/shape_import_android/kml/Placemark;->type:Llt/farmis/libraries/shape_import_android/ShapeImport$Shape;

    return-void
.end method

.method public final setUniqueId(Ljava/lang/String;)V
    .locals 1

    const-string v0, "<set-?>"

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    .line 12
    iput-object p1, p0, Llt/farmis/libraries/shape_import_android/kml/Placemark;->uniqueId:Ljava/lang/String;

    return-void
.end method
